package utils;

import env.City;
import env.Move;
import problem.Heuristic;
import utils.AiSearch.AiNode;

public class GreedyStrategy implements Strategy {

	private City goal;

	public GreedyStrategy(City goal) {
		this.goal = goal;
	}

	@Override
	public void calcCost(AiNode n1, AiNode n2, Move move) {
		n2.cost = Heuristic.getHeuristic(n2.copiedWorld, goal);
	}

}
